// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/HUHA/Coder/AI/HUHATool_Web/yhguide-page/devtools-navigator/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/HUHA/Coder/AI/HUHATool_Web/yhguide-page/devtools-navigator/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import AutoImport from "file:///D:/HUHA/Coder/AI/HUHATool_Web/yhguide-page/devtools-navigator/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/HUHA/Coder/AI/HUHATool_Web/yhguide-page/devtools-navigator/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/HUHA/Coder/AI/HUHATool_Web/yhguide-page/devtools-navigator/node_modules/unplugin-vue-components/dist/resolvers.js";
import { createSvgIconsPlugin } from "file:///D:/HUHA/Coder/AI/HUHATool_Web/yhguide-page/devtools-navigator/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/HUHA/Coder/AI/HUHATool_Web/yhguide-page/devtools-navigator/vite.config.ts";
var vite_config_default = defineConfig({
  base: "/",
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()],
      imports: ["vue", "vue-router", "pinia"],
      dts: "src/auto-imports.d.ts"
    }),
    Components({
      resolvers: [ElementPlusResolver()],
      dts: "src/components.d.ts"
    }),
    createSvgIconsPlugin({
      iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],
      symbolId: "icon-[dir]-[name]",
      inject: "body-last",
      customDomId: "__svg__icons__dom__"
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  css: {
    preprocessorOptions: {
      scss: {
        additionalData: `
          @use "@/styles/variables" as *;
        `
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwK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